﻿var app = angular.module("App", ['ngRoute']);

app.config(function ($routeProvider) {
    $routeProvider
    .when('/dantoc',
    {
        templateUrl: '/Areas/Admin/SPA/DanToc/index.html',
        controller: 'DanTocCtrl'
    })
    .otherwise({
        templateUrl: '/SPA/redirectError.html',
        controller: "PDControllerError"
    });
});